from symbide.src.execution.executor_text import Executor
from symbide import ModuleManager
import gtk

def set(Input):
    assert Input.type=='Text'
    Input.view.modify_base(gtk.STATE_NORMAL, gtk.gdk.color_parse('#ffffcf'))
    if ModuleManager.hasModule('gtksourceview'):
        Input.buffer.set_highlight(False)
    Input.executor = Executor()